package spring.exceptcion;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZH
 */
@RestController
public class TestController {
    @RequestMapping("/test")
    public String test(){
        String a = null;
        System.out.println(a.getBytes());
        System.out.println(1/0);
        return "Test";
    }
}
